﻿<UserControl x:Class="Gao.Poker.App.UserControls.Pager"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" >
    <StackPanel Orientation="Horizontal">

        <Button Name="FirstButton" Style="{DynamicResource Green}" Content="首页" Margin="2" Width="55" VerticalAlignment="Center" Click="FirstButton_Click"/>
        <Button Name="PreButton" Style="{DynamicResource Green}" Content="上一页" Margin="2" Width="55" VerticalAlignment="Center" Click="PreButton_Click"/>
        <Button Name="NextButton" Style="{DynamicResource Green}" Content="下一页" Margin="2" Width="55" VerticalAlignment="Center" Click="NextButton_Click"/>
        <Button Name="LastButton" Style="{DynamicResource Green}" Content="尾页" Margin="2"  Width="55" VerticalAlignment="Center" Click="LastButton_Click"/>

        <TextBlock VerticalAlignment="Center" FontSize="12" > 
                <TextBlock Name="txtCount" Text="" Foreground="Red"/>
                 <TextBlock Text="【共"/>
                <TextBlock Name="txtAll" Foreground="Red"/>
                <TextBlock Text="条记录】"/>
            </TextBlock>

    </StackPanel>
</UserControl>
